Mypy (Pydantic)
Pydantic also ships with a mypy plugin that adds a number of important pydantic-specific features to mypy that improve its ability to type-check your code.
To enable the plugin, just add pydantic.mypy to the list of plugins in your mypy config file